package cn.edu.ren.service;

import cn.edu.ren.dao.IStudentDao;
import cn.edu.ren.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;

/**
 * @PackageName: cn.edu.ren
 * @ClassName: StudentServiceImp
 * @Description:
 * @author: RZS
 * @date: 2021/5/19  9:51
 */
@Service
public class StudentServiceImp implements IStudentService {

    @Autowired
    private IStudentDao studentDao;

    @Override
    public Collection<Student> findAll() {
        return studentDao.findAll();
    }
}
